Search
InternalUtils.Blend Method
See Also
 





Creates a normalized [0..1] color blend out of the specified colors and positions.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static ColorBlend Blend (
    Object[] positionsAndColors
)

Visual Basic  Copy Code

Public Shared Function Blend( _
    positionsAndColors() As Object _
) As ColorBlend

 Parameters

positionsAndColors
An alternating sequence of float and Color pairs where each pair defines a gradient stop. The positions in the sequence need to be in ascending order.

 Return Value

A ColorBlend instance corresponding to the specified colors and positions.

 See Also